#include"mystdio.h"
#include"mystring.h"
#include<stdio.h>

int main()
{
    const char *s = "abcdefg";
    printf("%s %d\n",s,mystrlen(s));

    MYFILE * fd = mfopen("log.txt","a");
    if(fd == NULL) return 1;
    
    mfwrite("log.txt",mystrlen(s),fd);

    mfclose(fd);
    return 0;
}
